import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '用户id',
            dataIndex: 'userId',
            width: 200,
        },
        {
            title: '1已提交,2取消提交,3退卡专员审核中,4退卡专员审核拒绝,5退卡专员审核通过,6退款专员专员审核中,7退款专员审核拒绝,8退款专员审核通过,9财务经理审核中,10财务经理审核拒绝,11财务经理审核通过',
            dataIndex: 'isCheck',
            width: 200,
        },
        {
            title: '提交者',
            dataIndex: 'submitUserId',
            width: 200,
        },
        {
            title: '退卡卡号',
            dataIndex: 'vipCardNo',
            width: 200,
        },
        {
            title: '开户行',
            dataIndex: 'bank',
            width: 200,
        },
        {
            title: '银行卡号',
            dataIndex: 'bankNo',
            width: 200,
        },
        {
            title: 'refund_ali,refund_wx,refund_bank',
            dataIndex: 'refundWay',
            width: 200,
        },
        {
            title: '承担（1会员全部承担，会员部分承担）',
            dataIndex: 'bearWay',
            width: 200,
        },
        {
            title: '会员承担金额',
            dataIndex: 'vipBearAmount',
            width: 200,
        },
        {
            title: '销售承担金额',
            dataIndex: 'saleBearAmount',
            width: 200,
        },
        {
            title: '退卡金额',
            dataIndex: 'refundAmount',
            width: 200,
        },
        {
            title: '退卡备注说明',
            dataIndex: 'remark',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'accountGoodsId',
            width: 200,
        },
        {
            title: '地区',
            dataIndex: 'airportId',
            width: 200,
        },
        {
            title: '退卡专员备注',
            dataIndex: 'remarka',
            width: 200,
        },
        {
            title: '退款专员备注',
            dataIndex: 'remarkb',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'refundDate',
            width: 200,
        },
        {
            title: '退款凭证',
            dataIndex: 'refundImg',
            width: 200,
        },
        {
            title: '退卡原因',
            dataIndex: 'refundReason',
            width: 200,
        },
        {
            title: '补退方式',
            dataIndex: 'addRefundWay',
            width: 200,
        },
        {
            title: '补退备注',
            dataIndex: 'addRefundRemark',
            width: 200,
        },
        {
            title: '补退金额',
            dataIndex: 'addRefundAmount',
            width: 200,
        },
        {
            title: '标记备注',
            dataIndex: 'tagRemark',
            width: 200,
        },
        {
            title: '退卡退款状态',
            dataIndex: 'returnState',
            width: 200,
        },
        {
            title: '是否删除',
            dataIndex: 'deleted',
            width: 200,
        },
        {
            title: '更新人',
            dataIndex: 'updateUser',
            width: 200,
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            width: 200,
        },
        {
            title: '创建人',
            dataIndex: 'createUser',
            width: 200,
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '用户id',
            field: 'userId',
            component: 'Input',
            required: true,
        },
        {
            label: '1已提交,2取消提交,3退卡专员审核中,4退卡专员审核拒绝,5退卡专员审核通过,6退款专员专员审核中,7退款专员审核拒绝,8退款专员审核通过,9财务经理审核中,10财务经理审核拒绝,11财务经理审核通过',
            field: 'isCheck',
            component: 'Input',
            required: true,
        },
        {
            label: '提交者',
            field: 'submitUserId',
            component: 'Input',
            required: true,
        },
        {
            label: '退卡卡号',
            field: 'vipCardNo',
            component: 'Input',
            required: true,
        },
        {
            label: '开户行',
            field: 'bank',
            component: 'Input',
            required: true,
        },
        {
            label: '银行卡号',
            field: 'bankNo',
            component: 'Input',
            required: true,
        },
        {
            label: 'refund_ali,refund_wx,refund_bank',
            field: 'refundWay',
            component: 'Input',
            required: true,
        },
        {
            label: '承担（1会员全部承担，会员部分承担）',
            field: 'bearWay',
            component: 'Input',
            required: true,
        },
        {
            label: '会员承担金额',
            field: 'vipBearAmount',
            component: 'Input',
            required: true,
        },
        {
            label: '销售承担金额',
            field: 'saleBearAmount',
            component: 'Input',
            required: true,
        },
        {
            label: '退卡金额',
            field: 'refundAmount',
            component: 'Input',
            required: true,
        },
        {
            label: '退卡备注说明',
            field: 'remark',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'accountGoodsId',
            component: 'Input',
            required: true,
        },
        {
            label: '地区',
            field: 'airportId',
            component: 'Input',
            required: true,
        },
        {
            label: '退卡专员备注',
            field: 'remarka',
            component: 'Input',
            required: true,
        },
        {
            label: '退款专员备注',
            field: 'remarkb',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'refundDate',
            component: 'Input',
            required: true,
        },
        {
            label: '退款凭证',
            field: 'refundImg',
            component: 'Input',
            required: true,
        },
        {
            label: '退卡原因',
            field: 'refundReason',
            component: 'Input',
            required: true,
        },
        {
            label: '补退方式',
            field: 'addRefundWay',
            component: 'Input',
            required: true,
        },
        {
            label: '补退备注',
            field: 'addRefundRemark',
            component: 'Input',
            required: true,
        },
        {
            label: '补退金额',
            field: 'addRefundAmount',
            component: 'Input',
            required: true,
        },
        {
            label: '标记备注',
            field: 'tagRemark',
            component: 'Input',
            required: true,
        },
        {
            label: '退卡退款状态',
            field: 'returnState',
            component: 'Input',
            required: true,
        },
        {
            label: '是否删除',
            field: 'deleted',
            component: 'Input',
            required: true,
        },
        {
            label: '更新人',
            field: 'updateUser',
            component: 'Input',
            required: true,
        },
        {
            label: '更新时间',
            field: 'updateTime',
            component: 'Input',
            required: true,
        },
        {
            label: '创建人',
            field: 'createUser',
            component: 'Input',
            required: true,
        },
        {
            label: '创建时间',
            field: 'createTime',
            component: 'Input',
            required: true,
        },
];
